<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>图片查看插件</title>
</head>
<link rel="stylesheet" href="css/viewer.min.css">
<script src="js/jquery-3.3.1.js"></script>
<script src="js/viewer-jquery.min.js"></script>
<body>
<img id="pic_view" data-original="img/dnddnpmglv.jpeg" src="img/dnddnpmglv.jpeg" alt="图片1">
</body>
<script>
    $(function () {
        $('#pic_view').viewer({
            url: 'data-original',
        });
    });
</script>
</html>